﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using LinFu.IoC.Configuration;

namespace CoreEx.MicroMapper
{
    [Implements(typeof(IAccessorInfo),LifecycleType.OncePerRequest)]
    public class AccessorInfo : IAccessorInfo
    {
        public string Name { get; set;}        
        public Type DataType { get; set;}
        public override string ToString()
        {
            return string.Format("{0} ({1})", Name, DataType.Name);

            
        }
    }

    
}
